package com.klangner.go.app.rules;

import com.klangner.go.app.strategy.IGoStrategy;
import com.klangner.go.model.Move;

public class AtariGoPlayerCho extends Player {

  public AtariGoPlayerCho(int color, IGoStrategy strategy) {
    super(color);
    this.strategy = strategy;
  }

  // override Player's initPlayer method
  public void initPlayer() {}

  // override Player's move method
  protected Move move(BoardModel goPosition) {
    return strategy.chooseNextMove(goPosition);
  }

  protected IGoStrategy strategy;
}